POV-Ray : Newsgroups : povray.general : a function : Re: a function Server Time
6 Aug 2024 04:19:31 EDT (-0400)
  Re: a function  
From: Dennis Miller
Date: 26 May 2002 16:04:40
Message: <3cf13fd8$1@news.povray.org>
Thanks. I tried that and it looks interesting, but I am trying to "extrude"
the pattern on the surface of the plane into the -z axis. In other words, I
would like the pattern to rise out of the plane into z space (i.e., into the
viewer's face) during an animation (make sense?) Which of the parameters
would expect to do that, or does this make no sense?
d.


"Slime" <slm### [at] slimelandcom> wrote in message
news:3cf139e5$1@news.povray.org...
> > Thanks very nice (that was easy!). Now for a harder question - is there
> any
> > way to change a 2D function such as this into a 3D function?
>
> This will probably do something like that:
>
> function {
>    J*sin(A*sin(M*x) + B*cos(N*y) - C*sin(O*z))
> + K*cos(D*cos(P*x) + E*sin(Q*y) - F*cos(R*z))
> - L*sin(-G*sin(S*x) - H*cos(T*y) + I*sin(U*z))
> }
>
> But I sorta made it up as I went along. Variables are from A to U. This
> really might not create as interesting patterns as the 2D one does,
because
> it's not as symmetrical of a function.
>
>  - Slime
> [ http://www.slimeland.com/ ]
>
>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.